-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add publish rate parameter #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename your PR to be the feature you're adding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One thought for future, make publishRate_setting
type of auto, and call durationToDuration
in the constructor. Calling it every time the thread sleeps is unnecessary since the value never changes.
@mgaliar when you have time, can you give this a cursury glance and blessing before I merge it? |
Looks good! |
One note: this changes the default behavior from polling every second (if I read the code correctly) to polling every 100ms. Shouldn't impact anything negatively. |
added parameter for changing publish rate